package com.jason.auto.common;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 返回结果
 */
@Data
@NoArgsConstructor
public class GeneralResult<T> {
    private String msg;
    private int code;
    private T data;

    public GeneralResult(int code, String msg) {
        this.msg = msg;
        this.code = code;
    }
}
